getUserAgent

public final UserAgent getUserAgent()

Sets the custom user agent string, which is used to override engine's default user agent.

Setting of this property has the same effect as adding --user-agent switch.